from django.db import models
from django.contrib.auth.models import User

# Create your models here.

class ClassMessage(models.Model):
	message = models.TextField()
	date = models.DateTimeField(auto_now=True)
	user = models.OneToOneField(User, on_delete=models.CASCADE)